// 在api.js中编写上传方法，并导出
import axios from "axios";

export const uploadFileRequest = (headers, url, params) => {
  return axios({
    method: 'post',
    url: process.env.VUE_APP_BASE_API +`${url}`,
    data: params,
    headers: headers
  });
}